package com.lidong.lowcode.model.datasource.impl;

import com.lidong.lowcode.model.datasource.DataSourceEnum;
import com.lidong.lowcode.model.datasource.intf.DataSourceModel;
import org.springframework.stereotype.Component;

/**
 * @author LiDong
 * @version 1.0.0
 * @createTime 4/30/2022 1:18 PM
 */
@Component
public class MysqlDataSource implements DataSourceModel {

    @Override
    public String getCode() {
        return DataSourceEnum.MYSQL.getCode();
    }

    @Override
    public String getName() {
        return DataSourceEnum.MYSQL.getName();
    }
}
